package cn.kbyue.security.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author xlang
 * @version 0.0.1
 * @date 2021/9/14 18:52
 */
@Data
@Accessors(chain = true)
public class KbUser implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private String userId;

    private String account;

    @JsonIgnore
    private String password;

    @JsonIgnore
    private String salt;

    private Integer status;

    private Integer revision;

    private String createdBy;

    private LocalDateTime createdTime;

    private String updatedBy;

    private LocalDateTime updatedTime;
}
